package com.dao.user;

import com.entity.Bill;
import com.entity.Provider;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface BillMapper {
    public List<Bill> selectLikeNameBill(String productName);
    public int add(Bill bill);

    public int updateBill(Bill bill);

    public List<Bill> selectBillLike(@Param("productName") String productName);

    public List<Provider> selectProviderLikeNameCode(@Param("proCode")String proCode, @Param("proName")String proName);

    public List<Bill> getBillByConditionMap_foreach_map(Map<String,Object> idMap);

    public List<Bill> getBillListLimit(@Param("from")Integer currentPageNo,@Param("pageSize")Integer pageSize);
}
